package ooday01;

public class StudentText {
    public static void main(String[] args) {
        Student s = new Student();
        s.setId(1) ;
        s.setClassName("ss");
        s.setName("YiYi");
        s.setAge(21);
        s.studentInformation();
        s.study();
        s.sleep();
        s.playWith("crisp");
        Student s1 = new Student("YiYi",21,1,"ss");
        System.out.println(s);
        System.out.println(s1);
        System.out.println(s.equals(s1));
        Student s2 = new Student();
        System.out.println(s2);
    }
}
